object FrmReward: TFrmReward
  Left = 0
  Top = 0
  Caption = #25171#36175#32479#35745#34920
  ClientHeight = 448
  ClientWidth = 1042
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #24494#36719#38597#40657
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 17
  object cxGroupBox1: TcxGroupBox
    Left = 0
    Top = 0
    Align = alTop
    Style.Edges = [bLeft, bTop, bRight]
    TabOrder = 0
    Height = 44
    Width = 1042
    object Label1: TLabel
      Left = 332
      Top = 14
      Width = 24
      Height = 17
      Caption = #32593#28857
    end
    object Label3: TLabel
      Left = 18
      Top = 14
      Width = 48
      Height = 17
      Caption = #32479#35745#33539#22260
    end
    object Label4: TLabel
      Left = 189
      Top = 14
      Width = 12
      Height = 17
      Caption = #33267
    end
    object edtNode: TcxButtonEdit
      Left = 362
      Top = 11
      Properties.Buttons = <
        item
          Default = True
        end>
      Properties.OnButtonClick = edtNodePropertiesButtonClick
      TabOrder = 0
      Width = 116
    end
    object edtDateFrom: TcxDateEdit
      Left = 75
      Top = 11
      Properties.InputKind = ikRegExpr
      TabOrder = 1
      Width = 107
    end
    object edtDateTo: TcxDateEdit
      Left = 206
      Top = 11
      Properties.InputKind = ikRegExpr
      TabOrder = 2
      Width = 108
    end
    object cxButton1: TcxButton
      Left = 511
      Top = 6
      Width = 79
      Height = 32
      Action = actSearch
      TabOrder = 3
    end
  end
  object cxPageControl1: TcxPageControl
    Left = 0
    Top = 44
    Width = 1042
    Height = 404
    Align = alClient
    TabOrder = 1
    Properties.ActivePage = cxTabSheet1
    Properties.CustomButtons.Buttons = <>
    ClientRectBottom = 397
    ClientRectLeft = 3
    ClientRectRight = 1035
    ClientRectTop = 31
    object cxTabSheet1: TcxTabSheet
      Caption = #27719#24635#34920
      ImageIndex = 0
      object GrdSum: TcxGrid
        Left = 0
        Top = 0
        Width = 1032
        Height = 366
        Align = alClient
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = #24494#36719#38597#40657
        Font.Style = []
        ParentFont = False
        TabOrder = 0
        object tvSum: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsReward
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <
            item
              Kind = skSum
              FieldName = 'DISP_COUNT'
            end
            item
              Kind = skSum
              FieldName = 'DISP_FEE'
            end
            item
              Kind = skSum
              FieldName = 'DISP_WEIGHT'
            end
            item
              Kind = skSum
              FieldName = 'FETCH_COUNT'
            end
            item
              Kind = skSum
              FieldName = 'FETCH_FEE'
            end
            item
              Kind = skSum
              FieldName = 'FETCH_WEIGHT'
            end
            item
              Kind = skSum
              FieldName = 'INUS_FEE'
            end
            item
              Kind = skSum
              FieldName = 'ADV_FEE'
            end
            item
              Kind = skSum
              FieldName = 'TOTAL'
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
              Column = tvSumAMT
            end
            item
              Kind = skSum
              Column = tvSumSETTLED
            end
            item
              Kind = skSum
              Column = tvSumUNSETTLED
            end>
          DataController.Summary.SummaryGroups = <>
          OptionsCustomize.ColumnsQuickCustomization = True
          OptionsData.CancelOnExit = False
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Inserting = False
          OptionsView.NoDataToDisplayInfoText = '<'#27809#26377#25968#25454'>'
          OptionsView.Footer = True
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          OptionsView.IndicatorWidth = 30
          object tvSumBDATE: TcxGridDBColumn
            DataBinding.FieldName = 'BDATE'
            HeaderAlignmentHorz = taCenter
            HeaderAlignmentVert = vaCenter
            Width = 100
          end
          object tvSumEDATE: TcxGridDBColumn
            DataBinding.FieldName = 'EDATE'
            HeaderAlignmentHorz = taCenter
            HeaderAlignmentVert = vaCenter
            Width = 87
          end
          object tvSumEMP_NO: TcxGridDBColumn
            DataBinding.FieldName = 'EMP_NO'
            HeaderAlignmentHorz = taCenter
            HeaderAlignmentVert = vaCenter
            Width = 90
          end
          object tvSumEMP_NAME: TcxGridDBColumn
            DataBinding.FieldName = 'EMP_NAME'
            HeaderAlignmentHorz = taCenter
            HeaderAlignmentVert = vaCenter
            Width = 102
          end
          object tvSumNODE_NO: TcxGridDBColumn
            DataBinding.FieldName = 'NODE_NO'
            HeaderAlignmentHorz = taCenter
            HeaderAlignmentVert = vaCenter
            Width = 92
          end
          object tvSumNODE_NAME: TcxGridDBColumn
            DataBinding.FieldName = 'NODE_NAME'
            HeaderAlignmentHorz = taCenter
            HeaderAlignmentVert = vaCenter
            Width = 113
          end
          object tvSumAMT: TcxGridDBColumn
            DataBinding.FieldName = 'AMT'
            HeaderAlignmentHorz = taCenter
            HeaderAlignmentVert = vaCenter
          end
          object tvSumSETTLED: TcxGridDBColumn
            DataBinding.FieldName = 'SETTLED'
            HeaderAlignmentHorz = taCenter
            HeaderAlignmentVert = vaCenter
          end
          object tvSumUNSETTLED: TcxGridDBColumn
            DataBinding.FieldName = 'UNSETTLED'
            HeaderAlignmentHorz = taCenter
            HeaderAlignmentVert = vaCenter
          end
        end
        object lvEXP_COMP: TcxGridLevel
          GridView = tvSum
        end
      end
    end
    object cxTabSheet2: TcxTabSheet
      Caption = #26126#32454#34920
      ImageIndex = 1
      OnShow = cxTabSheet2Show
      object GrdOrder: TcxGrid
        Left = 0
        Top = 46
        Width = 1032
        Height = 320
        Align = alClient
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = #24494#36719#38597#40657
        Font.Style = []
        ParentFont = False
        TabOrder = 0
        ExplicitTop = 57
        ExplicitHeight = 309
        object tvBasic: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsDetail
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
            end
            item
              Kind = skCount
            end
            item
              Kind = skSum
            end
            item
              Kind = skSum
              Column = tvBasicPAY_AMOUNT
            end>
          DataController.Summary.SummaryGroups = <>
          OptionsCustomize.ColumnsQuickCustomization = True
          OptionsView.NoDataToDisplayInfoText = '<'#27809#26377#25968#25454'>'
          OptionsView.Footer = True
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          OptionsView.IndicatorWidth = 30
          object tvBasicChecked: TcxGridDBColumn
            DataBinding.FieldName = 'Checked'
            HeaderAlignmentHorz = taCenter
            Width = 43
          end
          object tvBasicORDER_NO: TcxGridDBColumn
            DataBinding.FieldName = 'ORDER_NO'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 154
          end
          object tvBasicPAY_TIME: TcxGridDBColumn
            DataBinding.FieldName = 'PAY_TIME'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
          end
          object tvBasicPAY_AMOUNT: TcxGridDBColumn
            DataBinding.FieldName = 'PAY_AMOUNT'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
          end
          object tvBasicSOURCE_TYPE: TcxGridDBColumn
            DataBinding.FieldName = 'SOURCE_TYPE'
            PropertiesClassName = 'TcxImageComboBoxProperties'
            Properties.Items = <
              item
                Description = #20844#20247#21495
                ImageIndex = 0
                Value = 1
              end
              item
                Description = #23567#31243#24207
                Value = 2
              end>
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
          end
          object tvBasicSETTLEMENT_FLAG: TcxGridDBColumn
            DataBinding.FieldName = 'SETTLEMENT_FLAG'
            RepositoryItem = FrmConsole.EditRepYesNo
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
          end
          object tvBasicSETTLEMENT_DT: TcxGridDBColumn
            DataBinding.FieldName = 'SETTLEMENT_DT'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 105
          end
        end
        object cxGridLevel1: TcxGridLevel
          GridView = tvBasic
        end
      end
      object cxGroupBox2: TcxGroupBox
        Left = 0
        Top = 0
        Align = alTop
        TabOrder = 1
        Height = 46
        Width = 1032
        object Label2: TLabel
          Left = 15
          Top = 14
          Width = 48
          Height = 17
          Caption = #32467#31639#29366#24577
        end
        object cxRadioGroup1: TcxRadioGroup
          Left = 72
          Top = 8
          Alignment = alCenterCenter
          Properties.Columns = 3
          Properties.Items = <
            item
              Caption = #20840#37096
            end
            item
              Caption = #24050#32467#31639
            end
            item
              Caption = #26410#32467#31639
            end>
          Properties.OnChange = cxRadioGroup1PropertiesChange
          ItemIndex = 0
          TabOrder = 0
          Height = 30
          Width = 233
        end
        object cxButton2: TcxButton
          Left = 315
          Top = 5
          Width = 79
          Height = 32
          Action = actAll
          TabOrder = 1
        end
        object cxButton3: TcxButton
          Left = 400
          Top = 5
          Width = 102
          Height = 32
          Action = actCancel
          TabOrder = 2
        end
        object cxButton4: TcxButton
          Left = 508
          Top = 5
          Width = 79
          Height = 32
          Action = actReward
          TabOrder = 3
        end
      end
    end
  end
  object pnlInfo: TPanel
    Tag = 33
    Left = 407
    Top = 187
    Width = 343
    Height = 49
    BevelInner = bvLowered
    BevelOuter = bvNone
    Caption = #27491#22312#26597#35810#25968#25454#65292#35831#31245#20505'...'
    Color = clWhite
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -20
    Font.Name = #24494#36719#38597#40657
    Font.Style = [fsBold]
    ParentBackground = False
    ParentFont = False
    TabOrder = 2
    Visible = False
  end
  object crsDetail: TClientRowSet
    Aggregates = <>
    CommandText = 
      'select a.id,a.source_type,a.pay_state,a.pay_time,a.pay_amount,a.' +
      'emp_no,a.emp_name,a.settlement_flag,b.order_no,a.SETTLEMENT_DT f' +
      'rom tsp_order_reward a left join tsp_order b on a.order_id=b.ord' +
      'er_id where a.pay_state=1'
    AppServer = Dm.AppServer
    TableName = 'tsp_order_reward'
    Left = 304
    Top = 216
    object crsDetailID: TStringField
      FieldName = 'ID'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Size = 50
    end
    object crsDetailChecked: TBooleanField
      DisplayLabel = #36873#25321
      FieldKind = fkInternalCalc
      FieldName = 'Checked'
      ProviderFlags = []
    end
    object crsDetailSOURCE_TYPE: TSmallintField
      DisplayLabel = #26469#28304
      FieldName = 'SOURCE_TYPE'
      ProviderFlags = []
    end
    object crsDetailPAY_STATE: TSmallintField
      FieldName = 'PAY_STATE'
      ProviderFlags = []
    end
    object crsDetailPAY_TIME: TStringField
      DisplayLabel = #25171#36175#26102#38388
      FieldName = 'PAY_TIME'
      ProviderFlags = []
    end
    object crsDetailPAY_AMOUNT: TFloatField
      DisplayLabel = #25171#36175#37329#39069
      FieldName = 'PAY_AMOUNT'
      ProviderFlags = []
    end
    object crsDetailEMP_NO: TStringField
      FieldName = 'EMP_NO'
      ProviderFlags = []
      Size = 50
    end
    object crsDetailEMP_NAME: TStringField
      FieldName = 'EMP_NAME'
      ProviderFlags = []
      Size = 50
    end
    object crsDetailSETTLEMENT_FLAG: TSmallintField
      DisplayLabel = #26159#21542#32467#31639
      FieldName = 'SETTLEMENT_FLAG'
      ProviderFlags = [pfInUpdate]
    end
    object crsDetailSETTLEMENT_DT: TStringField
      DisplayLabel = #32467#31639#26102#38388
      FieldName = 'SETTLEMENT_DT'
      ProviderFlags = [pfInUpdate]
    end
    object crsDetailORDER_NO: TStringField
      DisplayLabel = #36816#21333#21495
      FieldName = 'ORDER_NO'
      ProviderFlags = []
      Size = 50
    end
  end
  object crsReward: TClientRowSet
    Aggregates = <>
    ReadOnly = True
    AppServer = Dm.AppServer
    TableName = 'ACC_REWARD'
    Left = 240
    Top = 216
    object crsRewardID: TStringField
      FieldName = 'ID'
      Size = 50
    end
    object crsRewardBDATE: TStringField
      DisplayLabel = #24320#22987#26102#38388
      FieldName = 'BDATE'
    end
    object crsRewardEDATE: TStringField
      DisplayLabel = #32467#26463#26102#38388
      FieldName = 'EDATE'
    end
    object crsRewardEMP_NO: TStringField
      DisplayLabel = #21592#24037#32534#21495
      FieldName = 'EMP_NO'
    end
    object crsRewardEMP_NAME: TStringField
      DisplayLabel = #21592#24037#21517#31216
      FieldName = 'EMP_NAME'
      Size = 50
    end
    object crsRewardNODE_NO: TStringField
      DisplayLabel = #32593#28857#32534#21495
      FieldName = 'NODE_NO'
    end
    object crsRewardNODE_NAME: TStringField
      DisplayLabel = #32593#28857#21517#31216
      FieldName = 'NODE_NAME'
      Size = 50
    end
    object crsRewardAMT: TFloatField
      DisplayLabel = #25171#36175#37329#39069
      FieldName = 'AMT'
    end
    object crsRewardSETTLED: TFloatField
      DisplayLabel = #24050#32467#31639
      FieldName = 'SETTLED'
    end
    object crsRewardUNSETTLED: TFloatField
      DisplayLabel = #26410#32467#31639
      FieldName = 'UNSETTLED'
    end
    object crsRewardUSER_NO: TStringField
      FieldName = 'USER_NO'
    end
    object crsRewardGROUP_CODE: TStringField
      FieldName = 'GROUP_CODE'
    end
  end
  object dsDetail: TDataSource
    DataSet = crsDetail
    Left = 304
    Top = 272
  end
  object dsReward: TDataSource
    DataSet = crsReward
    Left = 240
    Top = 272
  end
  object ActionList: TActionList
    Images = FrmConsole.img32
    Left = 160
    Top = 272
    object actSearch: TAction
      Caption = #26597#35810
      ImageIndex = 152
      OnExecute = actSearchExecute
    end
    object actAll: TAction
      Caption = #20840#36873
      ImageIndex = 144
      OnExecute = actAllExecute
    end
    object actCancel: TAction
      Caption = #21462#28040#20840#36873
      ImageIndex = 52
      OnExecute = actAllExecute
    end
    object actReward: TAction
      Caption = #32467#31639
      ImageIndex = 145
      OnExecute = actRewardExecute
    end
  end
end
